from imagecorruptions import get_corruption_names
from imagecorruptions import corrupt
import cv2
import numpy as np


if __name__=='__main__':
    image=cv2.imread('/media/wsl/SB@data/dataset/芜湖海螺码头图片/imgs/1000009/2021_10_23_04_15_00.jpg')
    for i in range(100):
        corrupted_image = corrupt(image, corruption_name='fog', severity=5)
        cv2.imshow('a',corrupted_image)
        cv2.waitKey(0)
    